package com.xuecheng.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuecheng.content.model.po.TeachplanMedia;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;


public interface TeachplanMediaMapper extends BaseMapper<TeachplanMedia> {

    @Delete("delete from teachplan_media where teachplan_id=#{teachPlanId} and media_id=#{mediaId}")
    public void deletebyteachPlanId(@Param("teachPlanId") Long teachPlanId, @Param("mediaId") String mediaId);
}
